xen.git
18 years agoRemove unused import.
Ewan Mellor [Tue, 3 Apr 2007 09:36:31 +0000 (10:36 +0100)]
Remove unused import.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoFix "xm migrate" hang on failure.
kfraser@localhost.localdomain [Tue, 3 Apr 2007 08:03:51 +0000 (09:03 +0100)]
Fix "xm migrate" hang on failure.

If a domain fails to restore, report back an error and close the
connection. This still leaves a confusing error from 'xm migrate' in
many cases, but it's much better than just sitting there.

Signed-off-by: John Levon <john.levon@sun.com>
18 years agoFix the ia64 build after save/restore cleanups.
kfraser@localhost.localdomain [Tue, 3 Apr 2007 08:03:03 +0000 (09:03 +0100)]
Fix the ia64 build after save/restore cleanups.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years agoxend: Map re.compile on hosts_allow for XMLRPCServer.
kfraser@localhost.localdomain [Mon, 2 Apr 2007 16:34:00 +0000 (17:34 +0100)]
xend: Map re.compile on hosts_allow for XMLRPCServer.

Changeset 14601 removed a re.compile() map on hosts_allow,
hence breaking the tcp xmlrpc api ('str' has no attribute match
in xend-debug.log).

From: Pascal Bouchareine <pascal@gandi.net>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agohvm vmx: VMX MSR bitmap format and size is VMX-specific, so move its
kfraser@localhost.localdomain [Mon, 2 Apr 2007 15:59:00 +0000 (16:59 +0100)]
hvm vmx: VMX MSR bitmap format and size is VMX-specific, so move its
allocation and initialisation into VMX-specific code.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agohvm svm: Clear FS/GS base MSR intercepts.
kfraser@localhost.localdomain [Mon, 2 Apr 2007 15:51:52 +0000 (16:51 +0100)]
hvm svm: Clear FS/GS base MSR intercepts.
Signed-off-by: Mats Petersson <mats.petersson@amd.com>
18 years agoSome save/restore cleanups.
Steven Hand [Mon, 2 Apr 2007 15:46:52 +0000 (16:46 +0100)]
Some save/restore cleanups.

Signed-off-by: Steven Hand <steven@xensource.com>
18 years agoxen: Remove two incorrect assertions.
kfraser@localhost.localdomain [Mon, 2 Apr 2007 15:26:23 +0000 (16:26 +0100)]
xen: Remove two incorrect assertions.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoxen: Fix x86/64 build.
kfraser@localhost.localdomain [Mon, 2 Apr 2007 14:29:42 +0000 (15:29 +0100)]
xen: Fix x86/64 build.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoxentop: Fix memory leak.
kfraser@localhost.localdomain [Mon, 2 Apr 2007 12:08:05 +0000 (13:08 +0100)]
xentop: Fix memory leak.
Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
18 years agohvm hap: Add hap option to user's manual.
kfraser@localhost.localdomain [Mon, 2 Apr 2007 12:06:48 +0000 (13:06 +0100)]
hvm hap: Add hap option to user's manual.
Signed-off-by: Wei Huang <wei.huang2@amd.com>
18 years agohvm hap: P2M page table cleanup and bug fix.
kfraser@localhost.localdomain [Mon, 2 Apr 2007 12:05:59 +0000 (13:05 +0100)]
hvm hap: P2M page table cleanup and bug fix.

Force P2M top-level page table to be allocated below 4GB
memory space when Xen is running under PAE mode. Also remove
hap.p2m_freelists because hap mode does not have P2M batch
allocation. The backpointer parameter of hap_alloc() function is
removed since this parameter is unused.

Signed-off-by: Wei Huang <wei.huang2@amd.com>
18 years agoxen: Extra %esp tracing on double fault.
kfraser@localhost.localdomain [Mon, 2 Apr 2007 10:50:06 +0000 (11:50 +0100)]
xen: Extra %esp tracing on double fault.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agolinux: Remove a few redundant config options. Build util.c for ia64
Keir Fraser [Sat, 31 Mar 2007 18:02:09 +0000 (19:02 +0100)]
linux: Remove a few redundant config options. Build util.c for ia64
and ifdef out a couple of functions that are not yet fully generic.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agolinux: Avoid use of ptep_get_and_clear_full name as it's a macro on
Keir Fraser [Sat, 31 Mar 2007 16:22:46 +0000 (17:22 +0100)]
linux: Avoid use of ptep_get_and_clear_full name as it's a macro on
some architectures.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agolibxc: Fix the build with some versions of gcc.
Keir Fraser [Sat, 31 Mar 2007 15:52:36 +0000 (16:52 +0100)]
libxc: Fix the build with some versions of gcc.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agolinux gntdev: Mark x86-specific code as such with ifdef.
Keir Fraser [Sat, 31 Mar 2007 15:39:14 +0000 (16:39 +0100)]
linux gntdev: Mark x86-specific code as such with ifdef.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoxen x86: Fix double-fault handler stack overflow.
Keir Fraser [Sat, 31 Mar 2007 15:35:02 +0000 (16:35 +0100)]
xen x86: Fix double-fault handler stack overflow.
 1. Shrink stack frame for __print_symbol() by introducing a lock and
 making the big arrays static.
 2. Double the size of the double-fault stack.

Also fix the show_stack_overflow function.

Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoxend: Implement auto-ballooning for Solaris.
Keir Fraser [Sat, 31 Mar 2007 13:05:57 +0000 (14:05 +0100)]
xend: Implement auto-ballooning for Solaris.

/proc/xen/balloon is Linux-specific. Implement a Solaris backend
too. Also fix the FMRI for xend.

Signed-off-by: Ryan Scott <ryan.scott@sun.com>
18 years agolibxc: User-space grant table device.
Keir Fraser [Sat, 31 Mar 2007 13:03:17 +0000 (14:03 +0100)]
libxc: User-space grant table device.

Changes to libxc to enable easy access to the grant table device.

Signed-off-by: Derek Murray <Derek.Murray@cl.cam.ac.uk>
18 years agolinux: User-space grant table device.
Keir Fraser [Sat, 31 Mar 2007 12:53:24 +0000 (13:53 +0100)]
linux: User-space grant table device.

A character device for accessing (in user-space) pages that have been
granted by other domains.

Signed-off-by: Derek Murray <Derek.Murray@cl.cam.ac.uk>
Fix ioctl interface to be 32/64-bit invariant. Move xen_class
mechanism to common util.c.

Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agolinux: Add a hook before a page table entry is cleared, for use with
Keir Fraser [Sat, 31 Mar 2007 11:42:02 +0000 (12:42 +0100)]
linux: Add a hook before a page table entry is cleared, for use with
the grant-table device.

Signed-off-by: Derek Murray <Derek.Murray@cl.cam.ac.uk>
18 years agoxm: Fix an indentation bug.
Keir Fraser [Sat, 31 Mar 2007 11:26:04 +0000 (12:26 +0100)]
xm: Fix an indentation bug.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
18 years agoblktap: Fix qcow2raw.
Keir Fraser [Sat, 31 Mar 2007 11:24:55 +0000 (12:24 +0100)]
blktap: Fix qcow2raw.

qcow2raw would hang the conversion just short of 100%, because the
final write queue was never being submitted.  If a blktap drivers read
synchronously, then "submit_events" and "complete" variables are
checked before getting set, so the fact that reads have finished is
not noticed, so the final write queue was never submitted.

Note that I have also removed the variables write_complete and
read_complete.  They were unused, and they were also not set correctly
in the synchronous case.

Signed-off-by: Charles Coffing <ccoffing@novell.com>
18 years agoxen: Fix numa=on boot.
Keir Fraser [Sat, 31 Mar 2007 11:20:31 +0000 (12:20 +0100)]
xen: Fix numa=on boot.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agohvm svm: Some code cleanups.
Keir Fraser [Fri, 30 Mar 2007 18:02:40 +0000 (19:02 +0100)]
hvm svm: Some code cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agohvm vmx: Fix MSR-intercept bitmap initialisation (two bitmap offsets
Keir Fraser [Fri, 30 Mar 2007 17:42:49 +0000 (18:42 +0100)]
hvm vmx: Fix MSR-intercept bitmap initialisation (two bitmap offsets
are documented the wrong way round in the current PRM Vol.3). Clear
bits in the bitmap only /after/ it has been initialised to
all-1s. Clean up start-of-day info printing.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoxen: Fix domain shutdown to synchronously stop domain execution.
Keir Fraser [Fri, 30 Mar 2007 17:39:34 +0000 (18:39 +0100)]
xen: Fix domain shutdown to synchronously stop domain execution.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[LINUX] Explcitly include linux/mutex.h in files which use mutexes, rather then
Ian Campbell [Fri, 30 Mar 2007 16:33:31 +0000 (17:33 +0100)]
[LINUX] Explcitly include linux/mutex.h in files which use mutexes, rather then
relying on an include via some other header.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
18 years agoAdd support for HVM domains to new xm XenAPI create code
Tom Wilkie [Fri, 30 Mar 2007 16:28:54 +0000 (17:28 +0100)]
Add support for HVM domains to new xm XenAPI create code

signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>

18 years agosvm: Improve emulation of SMSW instruction for memory operands.
Keir Fraser [Fri, 30 Mar 2007 16:13:50 +0000 (17:13 +0100)]
svm: Improve emulation of SMSW instruction for memory operands.
From: Trolle Selander <trolle.selander@gmail.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agohvm: Must increment RIP on INT3 instruction in SVM.
Keir Fraser [Fri, 30 Mar 2007 16:02:46 +0000 (17:02 +0100)]
hvm: Must increment RIP on INT3 instruction in SVM.
Also tighten up checking of valid exception intercepts -- we should
not vmexit on an exception we have not registered an interest in.
Signed-off-by Tom Woller <thomas.woller@amd.com>
Signed-off-by Thomas Friebel <thomas.friebel@amd.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[LINUX] Make sure to initialiase the xen features bitmap before first use on x86_64.
Ian Campbell [Fri, 30 Mar 2007 13:13:53 +0000 (14:13 +0100)]
[LINUX] Make sure to initialiase the xen features bitmap before first use on x86_64.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
18 years agoAdd config files for testing xm via XendAPI
Tom Wilkie [Fri, 30 Mar 2007 10:55:34 +0000 (11:55 +0100)]
Add config files for testing xm via XendAPI

signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>

18 years agoManaged HVM guests are not displayed by 'xm list' after restarting xend.
Jim Fehlig [Wed, 14 Mar 2007 00:13:11 +0000 (18:13 -0600)]
Managed HVM guests are not displayed by 'xm list' after restarting xend.
This patch prevents writing empty configuration items to the domain's
sexpr configuration file.  Without the empty items, the sexpr is
parsed properly when xend is started.

Signed-off-by: Jim Fehlig <jfehlig@novell.com>
18 years agoMade tracing thread safe, and also print thread name.
Magnus Carlsson [Thu, 29 Mar 2007 21:27:46 +0000 (14:27 -0700)]
Made tracing thread safe, and also print thread name.

18 years agoxend: Fix shutdown method after PV-on-HVM save/restore patch.
kfraser@localhost.localdomain [Thu, 29 Mar 2007 22:31:58 +0000 (23:31 +0100)]
xend: Fix shutdown method after PV-on-HVM save/restore patch.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoacm: Provide the possibility to choose the VM label of domain-0 in the
kfraser@localhost.localdomain [Thu, 29 Mar 2007 18:26:13 +0000 (19:26 +0100)]
acm: Provide the possibility to choose the VM label of domain-0 in the
kernel line in grub.conf. The format is
ssidref=<ssidref>:sHype:<policy name>:<vm label>. The name of the
policy specified here must be the same name as the in the policy
provided as a module during boot, otherwise the policy will not be
accepted and the system then starts without a policy. The user tool
for 'xm dumppolicy' has been adapted to show which entry in the binary
policy is used by domain-0.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
18 years agohvm: Fix the assert on size in HVM MMIO flag-setting functions
kfraser@localhost.localdomain [Thu, 29 Mar 2007 18:23:41 +0000 (19:23 +0100)]
hvm: Fix the assert on size in HVM MMIO flag-setting functions
Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoEnable VMX MSR bitmap support.
kfraser@localhost.localdomain [Thu, 29 Mar 2007 18:18:43 +0000 (19:18 +0100)]
Enable VMX MSR bitmap support.
We use it to avoid VMExits on FS_BASE and GS_BASE MSR accesses.

Signed-off-by: Weidong Han <weidong.han@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoxen: Rename remaining vcpu_flags as pause_flags.
kfraser@localhost.localdomain [Thu, 29 Mar 2007 17:26:12 +0000 (18:26 +0100)]
xen: Rename remaining vcpu_flags as pause_flags.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoxen: Remove droppings from a previous patch.
kfraser@localhost.localdomain [Thu, 29 Mar 2007 17:19:10 +0000 (18:19 +0100)]
xen: Remove droppings from a previous patch.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoxen: Remove {nmi_pending,nmi_masked,paused} vcpu bitflags.
kfraser@localhost.localdomain [Thu, 29 Mar 2007 17:07:33 +0000 (18:07 +0100)]
xen: Remove {nmi_pending,nmi_masked,paused} vcpu bitflags.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoMerge
Tim Deegan [Thu, 29 Mar 2007 16:28:34 +0000 (16:28 +0000)]
Merge

18 years ago[HVM] Save/restore: PV-on-HVM driver save/restore support
Tim Deegan [Thu, 29 Mar 2007 16:27:52 +0000 (16:27 +0000)]
[HVM] Save/restore: PV-on-HVM driver save/restore support
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
18 years agoLet xm commands use domids with XenAPI
Tom Wilkie [Thu, 29 Mar 2007 16:09:49 +0000 (17:09 +0100)]
Let xm commands use domids with XenAPI

signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>

18 years agoxen: Get rid of some VCPUF_* flags and move into their own byte fields.
kfraser@localhost.localdomain [Thu, 29 Mar 2007 15:52:40 +0000 (16:52 +0100)]
xen: Get rid of some VCPUF_* flags and move into their own byte fields.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoMerge
Tim Deegan [Thu, 29 Mar 2007 15:33:32 +0000 (15:33 +0000)]
Merge

18 years ago[HVM] Save/restore: fix missing return code in USB restore
Tim Deegan [Thu, 29 Mar 2007 15:32:08 +0000 (15:32 +0000)]
[HVM] Save/restore: fix missing return code in USB restore
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years ago[HVM] Save/restore: Allow save/restore of multiple NICs
Tim Deegan [Thu, 29 Mar 2007 15:30:01 +0000 (15:30 +0000)]
[HVM] Save/restore: Allow save/restore of multiple NICs
Signed-off-by: Tim Deegan <Tim.Deegan@xenource.com>
18 years agoFinish off network in xm via XenAPI
Tom Wilkie [Thu, 29 Mar 2007 15:29:31 +0000 (16:29 +0100)]
Finish off network in xm via XenAPI

signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>

18 years ago[HVM] Save/restore: backport pcnet save/restore from qemu tip.
Tim Deegan [Thu, 29 Mar 2007 15:29:15 +0000 (15:29 +0000)]
[HVM] Save/restore: backport pcnet save/restore from qemu tip.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years ago[HVM] Save/restore: Save the ACPI PM control register in qemu
Tim Deegan [Thu, 29 Mar 2007 15:28:27 +0000 (15:28 +0000)]
[HVM] Save/restore: Save the ACPI PM control register in qemu
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years ago[HVM] Save/restore: don't get guest size from "memory_static_min"
Tim Deegan [Thu, 29 Mar 2007 15:27:18 +0000 (15:27 +0000)]
[HVM] Save/restore: don't get guest size from "memory_static_min"
since it doesn't mean that any more.  This is a sticking-plaster
to get HVM S/R working until the proper memory-map handling patch
is ready.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years agoFix bad behaviour of xm when calling event.next(), by adding a different error
Ewan Mellor [Thu, 29 Mar 2007 15:18:39 +0000 (16:18 +0100)]
Fix bad behaviour of xm when calling event.next(), by adding a different error
code (SESSION_NOT_REGISTERED).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoMake network.name_label == bridge name
Tom Wilkie [Thu, 29 Mar 2007 14:59:53 +0000 (15:59 +0100)]
Make network.name_label == bridge name

signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>

18 years agoMinor fix.
Ewan Mellor [Thu, 29 Mar 2007 14:51:04 +0000 (15:51 +0100)]
Minor fix.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoAdded asynchronous event notification through the Xen-API. Added a new command,
Ewan Mellor [Thu, 29 Mar 2007 14:46:30 +0000 (15:46 +0100)]
Added asynchronous event notification through the Xen-API.  Added a new command,
xm event-monitor, a new test program for the C bindings, and new bindings
themselves.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoFix the xen-api-server option parsing, so that we default to listening on
Ewan Mellor [Thu, 29 Mar 2007 14:22:02 +0000 (15:22 +0100)]
Fix the xen-api-server option parsing, so that we default to listening on
all interfaces when only a port is given.

This was broken by cset 14601:966c65f0ddba.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoFix PIF_metrics_methods declaration, which has broken PIF.
Ewan Mellor [Thu, 29 Mar 2007 14:10:26 +0000 (15:10 +0100)]
Fix PIF_metrics_methods declaration, which has broken PIF.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoThis patch adds serialization of sets with strings. I recursified the
Ewan Mellor [Thu, 29 Mar 2007 14:06:12 +0000 (15:06 +0100)]
This patch adds serialization of sets with strings. I recursified the
serialization. Only sets with strings are supported so far.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
18 years agoxen: Split domain_flags into discrete first-class fields in the
kfraser@localhost.localdomain [Thu, 29 Mar 2007 14:14:26 +0000 (15:14 +0100)]
xen: Split domain_flags into discrete first-class fields in the
domain structure. This makes them quicker to access, and simplifies
domain pause and checking of runnable status.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoxen: Pause domain when changing debug status.
kfraser@localhost.localdomain [Thu, 29 Mar 2007 12:29:24 +0000 (13:29 +0100)]
xen: Pause domain when changing debug status.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agohvm: Avoid separate nested-page-table control-register logic in SVM code.
kfraser@localhost.localdomain [Thu, 29 Mar 2007 11:04:35 +0000 (12:04 +0100)]
hvm: Avoid separate nested-page-table control-register logic in SVM code.
Clean up VMX set_cr0() function a little to avoid unnecesasry diffs
with SVM version.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agohvm: Remove extremely verbose debugging from SVM code.
kfraser@localhost.localdomain [Thu, 29 Mar 2007 10:01:41 +0000 (11:01 +0100)]
hvm: Remove extremely verbose debugging from SVM code.
It would be too verbose to actually turn on to find any non-subtle
bugs, and severely bloats the vmexit handler (making it hard to find
the real code amongst the debugging code).
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agohvm vmx: Better management of VMX control bitmaps.
kfraser@localhost.localdomain [Thu, 29 Mar 2007 09:41:37 +0000 (10:41 +0100)]
hvm vmx: Better management of VMX control bitmaps.
Distinguish between 'nice to have' and 'must have' features.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agopciback: Devices can lose config space info on D3->D0 transition, yet
Keir Fraser [Wed, 28 Mar 2007 19:19:11 +0000 (20:19 +0100)]
pciback: Devices can lose config space info on D3->D0 transition, yet
they may not (and even if they try, can not) restore the BARs. Since
Linux does not do this for us, pciback must do it for itself manually.

Possible todo: Restore all first 64 bytes of the config space?

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoia64: Remove list_move() implementation. Now implemenetd in generic list.h.
Keir Fraser [Wed, 28 Mar 2007 17:48:54 +0000 (18:48 +0100)]
ia64: Remove list_move() implementation. Now implemenetd in generic list.h.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years agohvm: Clean up handling of exception intercepts.
Keir Fraser [Wed, 28 Mar 2007 17:47:17 +0000 (18:47 +0100)]
hvm: Clean up handling of exception intercepts.
Only intercept #DB/#BP if a debugger is attached.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agohvm svm: Inject #UD exception if guest tries to execute any SVM-related
Keir Fraser [Wed, 28 Mar 2007 15:52:05 +0000 (16:52 +0100)]
hvm svm: Inject #UD exception if guest tries to execute any SVM-related
function (except VMMCALL).
Signed-off-by: Mats Petersson <mats.petersson@amd.com>
18 years agoMerge
Tim Deegan [Wed, 28 Mar 2007 15:04:14 +0000 (15:04 +0000)]
Merge

18 years ago[SVM] Inject a "fake" interrupt if we delay an interrupt for an exception
Tim Deegan [Wed, 28 Mar 2007 15:02:54 +0000 (15:02 +0000)]
[SVM] Inject a "fake" interrupt if we delay an interrupt for an exception
(instead of just waiting for the next vmexit to inject the pending
interrupt, since that could be some arbitrary number of instructions later).

Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years agoDon't trap int3 instructions by default - can have a major overhead in
Steven Hand [Wed, 28 Mar 2007 14:58:42 +0000 (15:58 +0100)]
Don't trap int3 instructions by default - can have a major overhead in
certain cases, and typically not used for anything.

Signed-off-by: Steven Hand <steven@xensource.com>
18 years agoRemove unused import; library moved
Tom Wilkie [Wed, 28 Mar 2007 14:31:17 +0000 (15:31 +0100)]
Remove unused import; library moved

signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>

18 years agolinux pciback: Proper fix for build failure.
kfraser@localhost.localdomain [Wed, 28 Mar 2007 14:01:24 +0000 (15:01 +0100)]
linux pciback: Proper fix for build failure.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
18 years agoxen: Sync the list.h macros to Linux 2.6.18.
kfraser@localhost.localdomain [Wed, 28 Mar 2007 13:43:41 +0000 (14:43 +0100)]
xen: Sync the list.h macros to Linux 2.6.18.
This also pulls in RCU-related functions, superceding a patch from Mike Day.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agolinux: Fix the pciback build (temporary hack).
kfraser@localhost.localdomain [Wed, 28 Mar 2007 13:42:54 +0000 (14:42 +0100)]
linux: Fix the pciback build (temporary hack).
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[ACM] Allow version information to be embedded in the XML representation of
kfraser@localhost.localdomain [Wed, 28 Mar 2007 13:00:56 +0000 (14:00 +0100)]
[ACM] Allow version information to be embedded in the XML representation of
the ACM policy. The translation tool has been adapted to parse the
version found in the XML representation and put it into the binary
policy. Xen has been adapted to remember the version information and
report it when asked for the current policy.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
18 years agoxenbus: check function return values of functions declared with
kfraser@localhost.localdomain [Wed, 28 Mar 2007 12:56:22 +0000 (13:56 +0100)]
xenbus: check function return values of functions declared with
__must_check post-2.6.18.

This implies completely suppressing frontend/backend operations if the
respective bus or device registration failed.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
18 years agopciback: check function return values of functions declared with
kfraser@localhost.localdomain [Wed, 28 Mar 2007 12:55:01 +0000 (13:55 +0100)]
pciback: check function return values of functions declared with
__must_check post-2.6.18.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
18 years agoRemove page_is_removable arch hook. Now the ia64 p2m semantic becomes
kfraser@localhost.localdomain [Wed, 28 Mar 2007 12:53:27 +0000 (13:53 +0100)]
Remove page_is_removable arch hook. Now the ia64 p2m semantic becomes
same as the x86 p2m table so that the hook is unnecessary any more.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
18 years agolinux evtchn: Read function in evtchn driver requires locking.
kfraser@localhost.localdomain [Wed, 28 Mar 2007 12:52:03 +0000 (13:52 +0100)]
linux evtchn: Read function in evtchn driver requires locking.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoFix to let TCP server run without SSL installed.
Tom Wilkie [Wed, 28 Mar 2007 11:38:13 +0000 (12:38 +0100)]
Fix to let TCP server run without SSL installed.

signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>

18 years ago[linux] Fix xenbus device to allow replies larger than 4096 bytes.
Christian Limpach [Wed, 28 Mar 2007 10:01:58 +0000 (11:01 +0100)]
[linux] Fix xenbus device to allow replies larger than 4096 bytes.
Also fix reply_queue mutex across fragmented replies and for concurrent
readers.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
18 years agoMerge with xen-ia64-unstable.hg
kfraser@localhost.localdomain [Wed, 28 Mar 2007 09:41:53 +0000 (10:41 +0100)]
Merge with xen-ia64-unstable.hg

18 years agoMerge with xen-ia64-unstable.hg
kfraser@localhost.localdomain [Wed, 28 Mar 2007 09:38:41 +0000 (10:38 +0100)]
Merge with xen-ia64-unstable.hg

18 years ago[ioemu] Don't enable monitor or serial console on virtual consoles by default.
Christian Limpach [Wed, 28 Mar 2007 09:36:49 +0000 (10:36 +0100)]
[ioemu] Don't enable monitor or serial console on virtual consoles by default.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
18 years agoEditing long lines in pygrub interactively could lead to tracebacks.
Tim Deegan [Wed, 28 Mar 2007 09:12:16 +0000 (09:12 +0000)]
Editing long lines in pygrub interactively could lead to tracebacks.
Attached patch fixes things.

Signed-off-by: Jeremy Katz <katzj@redhat.com>
18 years ago[ioemu] Revert 14585:3375391fb0c9 since this removes useful functionality.
Christian Limpach [Wed, 28 Mar 2007 09:05:37 +0000 (10:05 +0100)]
[ioemu] Revert 14585:3375391fb0c9 since this removes useful functionality.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
18 years agoFix missing import.
Ewan Mellor [Wed, 28 Mar 2007 09:05:03 +0000 (10:05 +0100)]
Fix missing import.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoFix diagnosis of unhandled exceptions.
Ewan Mellor [Wed, 28 Mar 2007 09:04:32 +0000 (10:04 +0100)]
Fix diagnosis of unhandled exceptions.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoMerge
Tim Deegan [Wed, 28 Mar 2007 08:44:08 +0000 (08:44 +0000)]
Merge

18 years ago[HVM][HAP] Fix up some memory allocation bugs
Tim Deegan [Wed, 28 Mar 2007 08:40:42 +0000 (08:40 +0000)]
[HVM][HAP] Fix up some memory allocation bugs

The attached patch initializes count_info of newly allocated hap page
with 0, and removes unnecessary page deallcation when destroying monitor
table. Without this patch, destroying hap domain will fail.

Signed-off-by: Wei Huang (wei.huang2@amd.com)
18 years agoFix typo.
Ewan Mellor [Wed, 28 Mar 2007 00:09:14 +0000 (01:09 +0100)]
Fix typo.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoAdded HTTPS support to Xend. There are new configuration options for the
Ewan Mellor [Tue, 27 Mar 2007 22:23:01 +0000 (23:23 +0100)]
Added HTTPS support to Xend.  There are new configuration options for the
Xen-API and legacy XML-RPC servers to set key and certificate files, and
xm simply needs to be configured use an https rather than an http URL.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoAdded comment regarding a Python bug.
Ewan Mellor [Tue, 27 Mar 2007 22:03:32 +0000 (23:03 +0100)]
Added comment regarding a Python bug.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoMove the client-specific parts of xmlrpclib2 into xmlrpcclient.py. This means
Ewan Mellor [Tue, 27 Mar 2007 21:34:22 +0000 (22:34 +0100)]
Move the client-specific parts of xmlrpclib2 into xmlrpcclient.py.  This means
that clients do not need to import swathes of server code.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agomerge with xen-unstable.hg
awilliam@xenbuild2.aw [Tue, 27 Mar 2007 18:21:48 +0000 (12:21 -0600)]
merge with xen-unstable.hg

18 years agoAdd auto-start and auto-stop functionality.
Ewan Mellor [Tue, 27 Mar 2007 15:52:56 +0000 (16:52 +0100)]
Add auto-start and auto-stop functionality.

Patch by Alastair Tse <atse@xensource.com>.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoUse the new blkback sysfs statistics/{rd,wr}_sect to get a more accurate
Ewan Mellor [Tue, 27 Mar 2007 15:33:26 +0000 (16:33 +0100)]
Use the new blkback sysfs statistics/{rd,wr}_sect to get a more accurate
bandwidth measurements for VBD I/O.

Patch by Alastair Tse <atse@xensource.com>.

Signed-off-by: Ewan Mellor <ewan@xensource.com>